@model ProjectCodeS.Models.Company

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Company</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">Street1</div>
    <div class="display-field">@Model.Street1</div>

    <div class="display-label">Street2</div>
    <div class="display-field">@Model.Street2</div>

    <div class="display-label">City</div>
    <div class="display-field">@Model.City</div>

    <div class="display-label">State</div>
    <div class="display-field">@Model.State</div>

    <div class="display-label">ZipCode</div>
    <div class="display-field">@Model.ZipCode</div>

    <div class="display-label">Country</div>
    <div class="display-field">@Model.Country</div>

    <div class="display-label">Logo</div>
    <div class="display-field">@Model.Logo</div>

    <div class="display-label">PhoneNumber1</div>
    <div class="display-field">@Model.PhoneNumber1</div>

    <div class="display-label">PhoneNumber2</div>
    <div class="display-field">@Model.PhoneNumber2</div>

    <div class="display-label">Stores</div>
    <div class="display-field">@(Model.Stores == null ? "None" : Model.Stores.Count.ToString())</div>

    <div class="display-label">Users</div>
    <div class="display-field">@(Model.Users == null ? "None" : Model.Users.Count.ToString())</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>


